package com.itheima.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "peachblossom")
public class Peachblossom implements Serializable {
    private static final long serialVersionUID = 3136732119984933873L;
    private ObjectId id; //主键id
    private Long created; //创建时间
    private Long lid; //自动增长


    private Long userId;
    private String soundUrl; //视频封面文件，URL
}
